package com.sky.user.service.impl;

import com.sky.user.dao.IUserDao;
import com.sky.user.service.IUserService;
import com.sky.user.domain.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements IUserService {

    @Autowired
    private IUserDao userDao;

    @Override
    public User queryUserById(String userId) {
        return userDao.queryUserById(userId);

    }
}
